import Vue from 'vue'
import App from './App'
//路由
import router from './router'
//一像素处理
import 'styles/border.css'
//通用样式
import 'styles/reset.css'
//字体图标
import 'styles/iconfont.css'
//点击延迟300ms处理
import fastclick from 'fastclick'
fastclick.attach(document.body)
//轮播组件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)
//引用store
import store from './store/index'
import 'babel-polyfill'
Vue.config.productionTip = false
new Vue({
  el: '#app',
  router,
  components: {
    App
  },
  template: '<App/>',
  store
})
